start = int(input())

end = int(input())

step = int(input())

for i in range(start,end,step):
    print(i,end=' ')